package com.oa.bean;



/**
 * Customer entity. @author MyEclipse Persistence Tools
 */

public class Customer  implements java.io.Serializable {

    // Fields    

     private Integer id;
     private Emp emp;
     private String name;
     private String tel;
     private String address;
     private Integer is = 1;


    // Constructors

    /** default constructor */
    public Customer() {
    }

    
    /** full constructor */
    public Customer(Emp emp, String name, String tel, String address, Integer is) {
        this.emp = emp;
        this.name = name;
        this.tel = tel;
        this.address = address;
        this.is = is;
    }

   
    // Property accessors

    public Integer getId() {
        return this.id;
    }
    
    public void setId(Integer id) {
        this.id = id;
    }

    public Emp getEmp() {
        return this.emp;
    }
    
    public void setEmp(Emp emp) {
        this.emp = emp;
    }

    public String getName() {
        return this.name;
    }
    
    public void setName(String name) {
        this.name = name;
    }

    public String getTel() {
        return this.tel;
    }
    
    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getAddress() {
        return this.address;
    }
    
    public void setAddress(String address) {
        this.address = address;
    }

    public Integer getIs() {
        return this.is;
    }
    
    public void setIs(Integer is) {
        this.is = is;
    }
   








}